]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Use Unicode in translatable strings
authorPiotr Drąg <piotrdrag@gmail.com>
Thu, 29 Sep 2016 22:00:13 +0000 (00:00 +0200)
committerPiotr Drąg <piotrdrag@gmail.com>
Thu, 16 Feb 2017 01:07:14 +0000 (02:07 +0100)
See https://developer.gnome.org/hig/stable/typography.html

https://bugzilla.gnome.org/show_bug.cgi?id=772210

data/org.gnome.shell.gschema.xml.in
js/ui/components/polkitAgent.js
js/ui/shellMountOperation.js
js/ui/status/network.js
js/ui/windowManager.js
src/main.c

index 7348d090847ad15f69bd73b9bb141bcd8105d41a..63a19032da01562621e5b20af747ee08c9f16611 100644 (file)
@@ -26,7 +26,7 @@
       <summary>Disable user extensions</summary>
       <description>
         Disable all extensions the user has enabled without affecting
-        the 'enabled-extension' setting.
+        the “enabled-extension” setting.
       </description>
     </key>
     <key name="disable-extension-version-validation" type="b">
@@ -64,9 +64,9 @@
     </key>
     <key name="always-show-log-out" type="b">
       <default>false</default>
-      <summary>Always show the 'Log out' menu item in the user menu.</summary>
+      <summary>Always show the “Log out” menu item in the user menu.</summary>
       <description>
-        This key overrides the automatic hiding of the 'Log out'
+        This key overrides the automatic hiding of the “Log out”
         menu item in single-user, single-session situations.
       </description>
     </key>
@@ -76,7 +76,7 @@
       <description>
         The shell will request a password when an encrypted device or a
         remote filesystem is mounted.  If the password can be saved for
-        future use a 'Remember Password' checkbox will be present.
+        future use a “Remember Password” checkbox will be present.
         This key sets the default state of the checkbox.
       </description>
     </key>
     </key>
     <key name="toggle-application-view" type="as">
       <default>["&lt;Super&gt;a"]</default>
-      <summary>Keybinding to open the "Show Applications" view</summary>
+      <summary>Keybinding to open the “Show Applications” view</summary>
       <description>
-        Keybinding to open the "Show Applications" view of the Activities
+        Keybinding to open the “Show Applications” view of the Activities
         Overview.
       </description>
     </key>
       <summary>The application icon mode.</summary>
       <description>
        Configures how the windows are shown in the switcher. Valid possibilities
-       are 'thumbnail-only' (shows a thumbnail of the window), 'app-icon-only'
-       (shows only the application icon) or 'both'.
+       are “thumbnail-only” (shows a thumbnail of the window), “app-icon-only”
+       (shows only the application icon) or “both”.
       </description>
     </key>
     <key type="b" name="current-workspace-only">
index 4abfe0e5ca76b6b8c869dd4a1995034b3859e190..6e49ced09b40d0f7a52ba0d0a4d003fe4a37a042 100644 (file)
@@ -298,7 +298,7 @@ const AuthenticationDialog = new Lang.Class({
                  * requested authentication was not gained; this can happen
                  * because of an authentication error (like invalid password),
                  * for instance. */
-                this._errorMessageLabel.set_text(_("Sorry, that didn\'t work. Please try again."));
+                this._errorMessageLabel.set_text(_("Sorry, that didn’t work. Please try again."));
                 this._errorMessageLabel.show();
                 this._infoMessageLabel.hide();
                 this._nullMessageLabel.hide();
index 413f196b2fddcb464527441314ef432517b2c719..9322a2d856823419a838917ee8e4766b6020d3cb 100644 (file)
@@ -380,7 +380,7 @@ const ShellMountPasswordDialog = new Lang.Class({
         this.setInitialKeyFocus(this._passwordEntry);
 
         this._errorMessageLabel = new St.Label({ style_class: 'prompt-dialog-error-label',
-                                                 text: _("Sorry, that didn\'t work. Please try again.") });
+                                                 text: _("Sorry, that didn’t work. Please try again.") });
         this._errorMessageLabel.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
         this._errorMessageLabel.clutter_text.line_wrap = true;
         this._errorMessageLabel.hide();
index 72f973a6a712798c9471efddf24b521ecf8f8d7b..560743cf0acc322f829b7ca1a8984907bc14a467 100644 (file)
@@ -1431,7 +1431,7 @@ const NMVPNConnectionItem = new Lang.Class({
         case NetworkManager.VPNConnectionState.PREPARE:
         case NetworkManager.VPNConnectionState.CONNECT:
         case NetworkManager.VPNConnectionState.IP_CONFIG_GET:
-            return _("connecting...");
+            return _("connecting…");
         case NetworkManager.VPNConnectionState.NEED_AUTH:
             /* Translators: this is for network connections that require some kind of key or password */
             return _("authentication required");
index 79b2092a0ed4c3ca9f80c4cb42d785c01bb652d4..3d0de972a8d1b40f275efecb7b4d8454a08970a5 100644 (file)
@@ -675,7 +675,7 @@ const ResizePopup = new Lang.Class({
     set: function(rect, displayW, displayH) {
         /* Translators: This represents the size of a window. The first number is
          * the width of the window and the second is the height. */
-        let text = _("%d x %d").format(displayW, displayH);
+        let text = _("%d × %d").format(displayW, displayH);
         this._label.set_text(text);
 
         this._widget.set_position(rect.x, rect.y);
index dbf0e3bd790fd32b388935f6cabd434875154ffe..78a300d28feb05de841b4305a323730aebfc6131 100644 (file)
@@ -390,7 +390,7 @@ GOptionEntry gnome_shell_options[] = {
   {
     "mode", 0, 0, G_OPTION_ARG_STRING,
     &session_mode,
-    N_("Use a specific mode, e.g. \"gdm\" for login screen"),
+    N_("Use a specific mode, e.g. “gdm” for login screen"),
     "MODE"
   },
   {